Optimal. Leaf size=68 \[ \frac{5 x^8}{8}-\frac{9 x^6}{2}+\frac{49 x^4}{2}-\frac{293 x^2}{2}+2 \log \left (x^2+1\right )+392 \log \left (x^2+2\right )+\frac{415 x^2+414}{2 \left (x^4+3 x^2+2\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.198708, antiderivative size = 68, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.161 \[ \frac{5 x^8}{8}-\frac{9 x^6}{2}+\frac{49 x^4}{2}-\frac{293 x^2}{2}+2 \log \left (x^2+1\right )+392 \log \left (x^2+2\right )+\frac{415 x^2+414}{2 \left (x^4+3 x^2+2\right )} \]
Antiderivative was successfully verified.
[In] Int[(x^9*(4 + x^2 + 3*x^4 + 5*x^6))/(2 + 3*x^2 + x^4)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{5 x^{12}}{8 \left (x^{4} + 3 x^{2} + 2\right )} - \frac{21 x^{6}}{8} + 2 \log{\left (x^{2} + 1 \right )} + 392 \log{\left (x^{2} + 2 \right )} + \frac{\int ^{x^{2}} \left (- \frac{1097}{4}\right )\, dx}{2} + \frac{161 \int ^{x^{2}} x\, dx}{4} + \frac{248}{x^{2} + 2} - \frac{9}{8 \left (x^{2} + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**9*(5*x**6+3*x**4+x**2+4)/(x**4+3*x**2+2)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0478874, size = 62, normalized size = 0.91 \[ \frac{1}{8} \left (5 x^8-36 x^6+196 x^4-1172 x^2+16 \log \left (x^2+1\right )+3136 \log \left (x^2+2\right )+\frac{4 \left (415 x^2+414\right )}{x^4+3 x^2+2}\right ) \]
Antiderivative was successfully verified.
[In] Integrate[(x^9*(4 + x^2 + 3*x^4 + 5*x^6))/(2 + 3*x^2 + x^4)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.024, size = 56, normalized size = 0.8 \[{\frac{5\,{x}^{8}}{8}}-{\frac{9\,{x}^{6}}{2}}+{\frac{49\,{x}^{4}}{2}}-{\frac{293\,{x}^{2}}{2}}+392\,\ln \left ({x}^{2}+2 \right ) +208\, \left ({x}^{2}+2 \right ) ^{-1}-{\frac{1}{2\,{x}^{2}+2}}+2\,\ln \left ({x}^{2}+1 \right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^9*(5*x^6+3*x^4+x^2+4)/(x^4+3*x^2+2)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.731391, size = 78, normalized size = 1.15 \[ \frac{5}{8} \, x^{8} - \frac{9}{2} \, x^{6} + \frac{49}{2} \, x^{4} - \frac{293}{2} \, x^{2} + \frac{415 \, x^{2} + 414}{2 \,{\left (x^{4} + 3 \, x^{2} + 2\right )}} + 392 \, \log \left (x^{2} + 2\right ) + 2 \, \log \left (x^{2} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5*x^6 + 3*x^4 + x^2 + 4)*x^9/(x^4 + 3*x^2 + 2)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.259687, size = 111, normalized size = 1.63 \[ \frac{5 \, x^{12} - 21 \, x^{10} + 98 \, x^{8} - 656 \, x^{6} - 3124 \, x^{4} - 684 \, x^{2} + 3136 \,{\left (x^{4} + 3 \, x^{2} + 2\right )} \log \left (x^{2} + 2\right ) + 16 \,{\left (x^{4} + 3 \, x^{2} + 2\right )} \log \left (x^{2} + 1\right ) + 1656}{8 \,{\left (x^{4} + 3 \, x^{2} + 2\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5*x^6 + 3*x^4 + x^2 + 4)*x^9/(x^4 + 3*x^2 + 2)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.411799, size = 61, normalized size = 0.9 \[ \frac{5 x^{8}}{8} - \frac{9 x^{6}}{2} + \frac{49 x^{4}}{2} - \frac{293 x^{2}}{2} + \frac{415 x^{2} + 414}{2 x^{4} + 6 x^{2} + 4} + 2 \log{\left (x^{2} + 1 \right )} + 392 \log{\left (x^{2} + 2 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**9*(5*x**6+3*x**4+x**2+4)/(x**4+3*x**2+2)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.285976, size = 85, normalized size = 1.25 \[ \frac{5}{8} \, x^{8} - \frac{9}{2} \, x^{6} + \frac{49}{2} \, x^{4} - \frac{293}{2} \, x^{2} - \frac{394 \, x^{4} + 767 \, x^{2} + 374}{2 \,{\left (x^{4} + 3 \, x^{2} + 2\right )}} + 392 \,{\rm ln}\left (x^{2} + 2\right ) + 2 \,{\rm ln}\left (x^{2} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5*x^6 + 3*x^4 + x^2 + 4)*x^9/(x^4 + 3*x^2 + 2)^2,x, algorithm="giac")
[Out]